package com.store.practice.service.impl;

import com.store.practice.mapper.BgMemberMapper;
import com.store.practice.model.BgMember;
import com.store.practice.service.BgMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BgMemberServiceImpl implements BgMemberService{
    @Autowired
    private BgMemberMapper memberMapper;

    @Override
    public List<BgMember> list() {
        return memberMapper.selectByExample(null);
    }

    @Override
    public int insert(BgMember member) {
        return 0;
    }

    @Override
    public int update(BgMember member) {
        return 0;
    }

    @Override
    public int delete(Integer id) {
        return 0;
    }
}
